$(document).ready(function(){
	init();
    monitor();
    service();
});


function init(){

}


function monitor(){
    $(".g-hot .u-down-more-icon").on("click",function(){
        $(".g-hot .u-bottom-active").removeClass("u-bottom-active");
        $(this).parent().parent(".u-bottom").addClass("u-bottom-active");
        return false;
    });
}


function hiddenMore(obj){
	var id = $(obj).attr("id");
	if($("#"+id+"_s").hasClass("u-bottom-active")){
		$("#"+id+"_s").removeClass("u-bottom-active");
		return false;
	}
}

function service(){

}

function taskDetail(id){
    window.location.href = "/platform/task/detail?id="+id;
    return false;
}

function fairDetail(id){
    window.location.href = "/platform/fair/detail?id="+id;
    return false;
}